/**
 *
 *
 * partInfo 工件信息设置
 *
 * */

import {getData} from "../request"

/**
 * /api/PartInfo/GetPages 查询列表
 *
 * */
export const get_partInfo_list = (params = {}) => {
    return getData("/api/PartInfo/GetPages", "POST", params, "data")
}

/**
 * /api/PartInfo/GetList 获取所有工件列表=&gt;不分页
 *
 * */
export const get_partInfo_list_all = (params = {}) => {
    return getData("/api/PartInfo/GetList", "POST", params, "data")
}

/**
 * /api/PartInfo/Edit 添加_修改工件
 *
 * */
export const edit_partInfo = (params = {}) => {
    return getData("/api/PartInfo/Edit", "POST", params, "data")
}

/**
 * /api/PartInfo/Delete 删除一条数据
 *
 * */
export const delete_partInfo = (params = {}) => {
    return getData("/api/PartInfo/Delete", "POST", params, "data")
}

/**
 * /api/PartInfo/GetUquUserNum  查询设备绑定班组下工件数量
 * */
export const get_partInfo_num = (params = {}) => {
    return getData("/api/PartInfo/GetUquUserNum", "POST", params, "data")
}

/**
 * /api/PartInfo/GetPages 工件查询列表
 * */
export const get_partInfo_list_new = (params = {}) => {
    return getData("/api/PartInfo/GetPages", "POST", params, "data")
}

///api/PartInfo/ExportPartInfoReport
// 工件信息导出报表
/**
 * /api/PartInfo/ExportPartInfoReport 工件信息导出报表
 * */
export const exportPartInfoReport = (params = {}) => {
    return getData("/api/PartInfo/ExportPartInfoReport", "POST", params, "data")
}
